package com.rzjm.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 设备的温度记录
 * @author mr.zhou
 * @email zhouwei_nice@163.com
 * @date 2020-12-15 22:36:23
 */
@Data
@TableName("ck_trerminal_temperature")
public class TerminalTemperature implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键
	@TableId(type = IdType.AUTO)
	private Integer id;
	private Integer shopId;
	private Integer deviceId;
	private Float wendu;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	private String sendMsgOkIds;

	private String sendMsgErrorIds;

	private Integer nodeIndex;

	private Integer insIndex;

	private Integer feedId;

	private Integer isIgnor;

	private Integer isUnqualified;

	private String feedName;

	private Double highTemperature;

	private Double lowTemperature;

	private Double unqualifiedIntervalValue;

	@TableField(exist = false)
	private String nodeName;

	@TableField(exist = false)
	private Integer deviceType;

	@TableField(exist = false)
	private Integer powerState;

	@TableField(exist = false)
	private Date powerOpenTime;

	@TableField(exist = false)
	private Date powerOffTime;
}
